
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <#--freemareker注释，不会显示哦！-->
    <title>${titile!"无标题"}</title>
</head>
<body>
<form>
    选择要查看的分类
    <select>
        <#list list as obj>
            <option value="${obj.id}">${obj.name}</option>
        </#list>
    </select>
    <button>查看</button>

        <table border="bold" >
            <thead>
                <tr>
                    <td>文章名</td>
                    <td>查看内容</td>
                </tr>
            </thead>
            <#list postList as post >
                <tr>
                    <td>post.title</td>
                    <td><a href="/post?pid=${post.id}">点击查看</a></td>
                </tr>
            </#list>
        </table>

</form>

</body>
</html>